﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="USLogin.ascx.cs" Inherits="Pages_USLogin" %>

 <link rel="Stylesheet" href="../CSS/CSSRegister.css" type="text/css" />
<asp:MultiView ID="MultiViewLogin" runat="server">
        <asp:View ID="vwRegister" runat="server">
        <div class=head>
        <br />
            <div class=head>
            <h1 align=center style="background-color:#00FFFF"> ĐĂNG NHẬP HỆ THỐNG</h1>
            </div>
            <div class=head align=center>
                <asp:Label ID="lblMessage" runat="server" Text="Message"></asp:Label>
            </div>

            <div class=head>
                <div class=head>
                    <div class=left>
                        <asp:Label ID="Label1" runat="server" Text="Email"></asp:Label>
                    </div>
                    <div class=center>
                         <asp:TextBox ID="txtEmail" runat="server" Width="99%" ></asp:TextBox>
                    </div>
                    <div class=right>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ErrorMessage="(*)" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ErrorMessage="Email không hợp lệ" ControlToValidate="txtEmail" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    </div>
                </div>
                <div class=head>
                    <div class=left>
                       <asp:Label ID="Label4" runat="server" Text="Mật khẩu"></asp:Label>
                    </div>
                    <div class=center>
                        <asp:TextBox ID="txtMatKhau" runat="server" Width="99%" TextMode="Password"></asp:TextBox>
                    </div>
                    <div class=right>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ErrorMessage="(*)" ControlToValidate="txtMatKhau"></asp:RequiredFieldValidator>
                     </div>
                </div>
               
                
                 

                
            </div>
            <div class=head>
       
            </div>
            <div class=head>
                <div class=btSubmit>
                    <asp:Button ID="Button1" runat="server" Text="Đăng ký" Width="100px" 
                        Height="30px" onclick="Button1_Click" />
                </div>
                <div class="btReset">
                     <input id="Reset1" style="width: 100px; height: 30px;" type="reset" 
                         value="Nhập lại" />
                </div>
            </div>
        </div>
       
        </asp:View>

         

        <asp:View ID="vwLogged" runat="server">
             <div style="color:Red;font-weight:bold;text-align:center">
                <h4>Bạn đang ở trạng thái đăng nhập.</h4>
                <p><a href="Logout.aspx">Vui lòng thoát ra để đăng ký.</a></p>
            </div>
        </asp:View>

        </asp:MultiView>